package cn.itcast.tanhua.common.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName User
 * @Description 用户实体类，继承BasePojo后可以自动填充时间
 * @Author WU
 * @Date 2021/5/23 20:41
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BasePojo {
    private Long id;
    private String mobile;
    @JsonIgnore//序列化时忽略
    private String password;

}
